// lodash 的 fp 模块
// NEVER SAY DIE --> never-say-die
import fp from "lodash/fp.js";

const f = fp.flowRight(fp.join("-"), fp.map(fp.toLower), fp.split(" "));

console.log(f(["NEVER SAY DIE"]));
